<?php $this->load->view('base/header'); ?>

<link rel="stylesheet" media="screen" href="<?php echo base_url() . 'css/jquery.datatable.gui.css' ?>"/>
<link rel="stylesheet" media="screen" href="<?php echo base_url() . 'css/jquery-ui-1.8.14.custom.css' ?>"/>
<link rel="stylesheet" media="screen" href="<?php echo base_url() . 'css/table.css' ?>"/>
<style>
    .ui-datepicker-calendar {
        display: none;
    }

</style>
<script type="text/javascript" src="<?php echo base_url() . 'js/spin.js' ?>"></script>

<script type="text/javascript" src="<?php echo base_url() . 'js/jquery-ui-1.8.14.custom.min.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/jquery.dataTables.js' ?>"></script>

<script type="text/javascript" src="<?php echo base_url() . 'js/br-03/create_potongan.js' ?>"></script>
<script type="text/javascript" src="<?php echo base_url() . 'js/br-03/unit.js' ?>"></script>



<section>
    <div class="container_8 clearfix">

        <!-- Main Section -->

        <section class="main-section grid_8">
            <!-- Tabs Section -->
            <div class="main-content">
                <header>
                    <ul class="action-buttons clearfix fr">

                    </ul>
                    <h2>Buat Potongan</h2>
                </header>
                <section class="container_6 clearfix">
                    <div class="grid_6">

                        <section class="clearfix">
                            <form class="form" id="FORM_BUAT_POTONGAN" method="post">
                                <div style="float: left;">
                                    <!--<div class="clearfix">
                                        <label>Bulan Tahun <small>yyyy-mm</small></label>
                                        <input class="date-picker" name="TGL_ANGSURAN" id="TGL_ANGSURAN"/>
                                    </div>-->
                                    <div class="clearfix">
                                        <label>Kode Unit <small></small></label>
                                        <input class="text" name="KODE_UNIT" id="KODE_UNIT" maxlength="3"/>
                                        
                                    </div>

                                </div>

                                <div style="float: right; margin-top: 50px; margin-right: 300px;">
                                    <div id="siteLoader" style="">
                                    </div>
                                </div>

                                <br />
                                <br />
                                <div class="action clearfix">
                                    <button class="button button-gray" type="submit" id="CREATE"><span class="accept"></span>Create</button>
                                    <button class="button button-gray" type="reset"><span class="bin"></span>Batalkan</button>
                                </div>
                            </form>
                        </section>
                    </div>
                </section>
            </div>
            <!-- End Tabs Section -->
            
<div id="unit_dialog">
    <table id="unit_table" width="100%" class="datatable">
        <thead>
        </thead>
        <tbody>
        </tbody>
    </table>
</div>

    </div>
</section>
</div>





<?php $this->load->view('base/footer'); ?>
